package top.tenebrous.yzl.tree;

import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author yazhang6
 */
@Getter
@Setter
public class BaseTree<T, C> {

    /**
     * 父ID
     */
    private C parentId;

    /**
     * ID
     */
    private C id;

    /**
     * 子节点
     */
    private List<T> children;

}
